<?php
/**
 * 路由
 */
return [
    //**************支付回调*********************//
    'notify/wx' => 'notify/wx',//购买商品
    //**************系统*********************//
    'GET system/index'=>'system/index',//系统配置
    'GET system/help'=>'system/help',//帮助中心
    'GET system/help-detail'=>'system/help-detail',//帮助详情
    'GET system/bulletin'=>'system/bulletin',//公告
    'GET system/bulletin-detail'=>'system/bulletin-detail',//公告详情

    //**************首页*********************//
    'GET home/carousel'=>'home/carousel',//轮播图
    'GET home/locate'=>'home/locate',//定位校区
    'GET home/campus'=>'home/campus',//校区列表


    //**************商品*********************//
    'GET goods/classify'=>'goods/classify',//分类
    'GET goods/goods'=>'goods/goods',//商品列表
    'GET goods/good-detail'=>'goods/good-detail',//商品详情
    'POST goods/calculation'=>'goods/calculation',//计算
    'POST goods/place-order'=>'goods/place-order',//下单

    //**************购物车*********************//
    'POST cart/join'=>'cart/join',//加入购物
    'GET cart/list'=>'cart/list',//我的购物车
    'POST cart/add-sub'=>'cart/add-sub',//加减数量
    'GET cart/del'=>'cart/del',//删除
    'GET cart/num'=>'cart/num',//数量

    //**************登录*********************//
    'POST login/login'=>'login/login',//登录

    //**************个人中心*********************//
    'GET user/info'=>'user/info',//登录
    'POST withdrawal/apply'=>'withdrawal/apply',//申请提现
    'GET withdrawal/list'=>'withdrawal/list',//提现记录
    'GET withdrawal/get-collection'=>'withdrawal/get-collection',//获取收款信息
    'POST withdrawal/set-collection'=>'withdrawal/set-collection',//设置收款信息
    'GET user/coupon'=>'user/coupon',//我的卡券

    //**************地址管理*********************//
    'GET address/list'=>'address/list',//地址列表
    'POST address/add'=>'address/add',//添加地址
    'POST address/edit'=>'address/edit',//修改地址

    //**************订单管理*********************//
    'GET order/list'=>'order/list',//列表
    'GET order/details'=>'order/details',//详情
    'POST order/continue-pay'=>'order/continue-pay',//继续支付
    'POST order/confirm-delivery'=>'order/confirm-delivery',//确认订单
    'POST order/retreat'=>'order/retreat',//退货

    //**************跑腿*********************//
    'POST running/settled'=>'running/settled',//入驻
    'GET running/receiv'=>'running/receiv',//接单中心
    'POST running/taking'=>'running/taking',//接单
    'GET running/taking-list'=>'running/taking-list',//我的接单
    'GET running/details'=>'running/details',//详情
    'POST running/pickup'=>'running/pickup',//取货
    'POST running/deliver'=>'running/deliver',//送达
    'POST running/cancel'=>'running/cancel',//取消

    //**************分销*********************//
    'GET dis/user'=>'dis/user',//用户列表
    'GET dis/order'=>'dis/order',//订单
    'GET dis/statistics'=>'dis/statistics',//分销数据
    'GET dis/poster'=>'dis/poster',//分销海报
    'POST dis/apply'=>'dis/apply',//分销申请
    'POST dis/switch'=>'dis/switch',//开关

    //**************卡券中心*********************//
    'GET coupon/list'=>'coupon/list',//列表
    'POST coupon/receive'=>'coupon/receive',//领取

];